DateTimeEditors for WinRT
Setting the FirstYear Property

This topic will take you through setting the FirstYear property in XAML markup and in code.

In XAML

Add the following XAML markup to the <Xaml:C1DateSelector/> tag to set the FirstYear property:

Markup
Copy Code
FirstYear="500"

 

In Code

Use the following code to set the FirstYear property:

C#
Copy Code
c1dateselect1.FirstYear = 500;

 

Visual Basic
Copy Code
c1dateselect1.FirstYear = 500
See Also

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback